home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
cmdity
/
clicker.lha
/
Clicker
/
Source
/
prefs.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-05-17
|
1KB
|
45 lines
/* File: prefs.h
* Created: 20-10-95
* Updated: 17-05-96
* Version: 1.3
* Project: Clicker
* Owner: Jeroen Vermeulen
* Requirements: KickStart V39+
* Legal: PD
* Status: Release
*/
/* Defining this preprocessor symbol will disable all mouse-click code. There
* is no real reason for this except that it may help get a few instructions out
* of the critical path of the input stream. Clicker sniffs at any input event
* that comes in, including mouse moves, so the faster it is done the better.
*
* If mouse-clicks are disabled at compile time, the gadget for it in the prefs
* window will be ghosted.
*/
/* #define NOCLICKMOUSE */
struct SoundSettings
{
/* Alter this value at will. There's no need to notify through `newsettings'.
*/
BOOL ClickMouse;
/* Change pitch/length/volume of click by poking new values into this struct,
* and setting newsettings to TRUE afterwards to notify the click routine.
*/
BOOL newsettings;
UWORD period, volume, cycles;
};
/* This global volatile variable enables asynchronous communication between
* processes. New settings for sample volume, click length and pitch will be
* stored into this struct, so the key-click routine will feed the new data into
* its audio request on the next key click.
*/
extern volatile struct SoundSettings ClickPrefs;